package com.ymm.system.core.config;

import lombok.Data;
import lombok.Getter;
import org.springframework.stereotype.Component;

/**
 * @Author zikang.yao
 * @Description TODO
 * @Date 2022/8/16 14:31
 * @Version 1.0
 */
@Data
@Component
public class BSGSPriceConfig {
    /**
     * 早高峰系数
     */
    @Getter
    private static final Double TIME_MORNING_FACTOR=1.08;

    /**
     * 午间峰值系数
     */
    @Getter
    private static final Double TIME_NOON_FACTOR=1.12;

    /**
     * 夜间峰值
     */
    @Getter
    private static final Double TIME_NIGHT_FACTOR=1.10;

    /**
     * 正常时间系数
     */
    @Getter
    private static final Double TIME_NORMAL_FACTOR=1.0;

    /**
     * 中小型车起步距离
     */
    @Getter
    private static final Double DISTANCE_START_SMCAR=5.0;

    /**
     * 大货车起步距离
     */
    @Getter
    private static final Double DISTANCE_START_LCAR=15.0;

    /**
     * 小面包起步价
     */
    @Getter
    private static final Double PRICE_START_SMALLVAN=35.0;

    /**
     * 小型平板起步价
     */
    @Getter
    private static final Double PRICE_START_SMALLFLAT=60.0;

    /**
     * 小型厢货起步价
     */
    @Getter
    private static final Double PRICE_START_SMALLTRUNK=70.0;

    /**
     * 中型面包起步价
     */
    @Getter
    private static final Double PRICE_START_MEDIUNVAN=60.0;

    /**
     * 中型货车起步价
     */
    @Getter
    private  static final Double PRICE_START_MEDIUNTRUNK=105.0;

    /**
     * 6米8大货车
     */
    @Getter
    private  static final Double PRICE_START_6_8=290.0;

    /**
     * 7米6大货车
     */
    @Getter
    private static final Double PRICE_START_7_6=340.0;

    /**
     * 9米6大货车
     */
    @Getter
    private static final Double PRICE_START_9_6=390.0;

    /**
     * 小面包超出起步价每公里计价
     */
    @Getter
    private static final Double UNITPRICE_SMALLVAN=3.3;

    /**
     * 小平板超出起步价每公里计价
     */
    @Getter
    private static final Double UNITPRICE_SMALLFLAT=4.2;

    /**
     * 小厢货超出起步价每公里计价
     */
    @Getter
    private static final Double UNITPRICE_SMALLTRUNK=4.2;

    /**
     * 中面包超出起步价每公里计价
     */
    @Getter
    private static final Double UNITPRICE_MEDIUMVAN=4.2;

    /**
     * 中货车超出起步价每公里计价
     */
    @Getter
    private  static final Double UNITPRICE_MEDIUMTRUNK=5.8;

    /**
     * 6米8大货车超出起步价每公里计价
     */
    @Getter
    private static final Double UNITPRICE_6_8=6.2;

    /**
     * 7米6大货车超出起步价每公里计价
     */
    @Getter
    private static final Double UNITPRICE_7_6=6.8;

    /**
     * 9米6大货车超出起步价每公里计价
     */
    @Getter
    private static final Double unitprice_9_6=7.8;

    /**
     * 沉单推送因素
     */
    @Getter
    private  static final Double PUSH_FACTOR=1.0;
}
